<template>
    <view class="page">
        <view class="activity-list">
            <view class="list" v-for="(item,index) in 6" :key="index">
                <view class="date">
                    <text>09.13 09:20</text>
                </view>
                <view class="item">
                    <view class="title">
                        <text class="one-omit">活动标题不要超过一行哦哦哦哦哦哦哦哦哦</text>
                    </view>
                    <view class="pictrue">
                        <image src="https://ss1.bdstatic.com/70cFuXSh_Q1YnxGkpoWK1HF6hhy/it/u=116920515,1155864188&fm=26&gp=0.jpg" mode=""></image>
                        <view class="hint">
                            <text>活动结束</text>
                        </view>
                    </view>
                    <view class="describe">
                        <text class="two-omit">活动内容的描述：描述内容请控制在两行以内，超过两行的部分请用</text>
                    </view>
                </view>
            </view>
        </view>
    </view>
</template>

<script>
export default {
    data() {
        return {

        };
    }
}
</script>

<style scoped lang="scss">
.page {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: #f6f6f6;
}

.activity-list {
    padding: 20rpx 4%;
    .list {
        width: 100%;
        margin-bottom: 10px;
        .date {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 100%;
            height: 100rpx;
            text {
                padding: 10rpx 30rpx;
                background-color: rgba(0, 0, 0, 0.2);
                color: #ffffff;
                font-size: 26rpx;
                border-radius: 10rpx;
            }
        }
        .item {
            padding: 0 4%;
            height: 500rpx;
            background-color: #ffffff;
            border-radius: 10rpx;
            .title {
                display: flex;
                align-items: center;
                width: 100%;
                height: 100rpx;
                text {
                    font-size: 32rpx;
                    color: #222222;
                }
            }
            .pictrue {
                position: relative;
                width: 100%;
                height: 300rpx;
                image {
                    width: 100%;
                    height: 100%;
                }
                .hint {
                    position: absolute;
                    left: 0;
                    top: 0;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    width: 100%;
                    height: 100%;
                    background-color: rgba(0, 0, 0, 0.3);
                    text {
                        font-size: 32rpx;
                        color: #ffffff;
                    }
                }
            }
            .describe {
                display: flex;
                align-items: center;
                width: 100%;
                height: 100rpx;
                text {
                    font-size: 28rpx;
                    color: #959595;
                }
            }
        }
    }
}
</style>
